<?php

$local = true; // poner en false si es remoto

if ($local){
   define('DB_CONNECTION_STRING', "mysql|localhost:3306;root;");
   define('DB_DATABASE', "cursoweb08");
}else{
   define('DB_CONNECTION_STRING', "mysql|192.168.0.61;cursoweb08;mito");
   define('DB_DATABASE', "cursoweb08");
}

// $_SERVER['DOCUMENT_ROOT']


/**************** FilePot configuration *******************/
// Path or sub path for the directory were the files are moved once they are uploaded
define("FILEPOT_UPLOAD_DIR", getcwd().'/upload/');
// SQL Definition where the data of the files is stored
define("FILEPOT_TABLE", "Archivo");
define("FILEPOT_DB_ID", "arc_id");
define("FILEPOT_DB_PATH", "arc_path");
define("FILEPOT_DB_NAME", "arc_name");
define("FILEPOT_DB_MIME", "arc_mime");

?>